Add make run-watch for auto-restart during development#158
Add make run-watch for auto-restart during development#158thereisnotime wants to merge 1 commit intoRichardAtCT:mainfrom
Conversation
Uses watchfiles (already a dependency via uvicorn) to watch src/ and restart the bot whenever files change — handy during development.
|
Good DX addition. A few things worth considering: 1. Invocation is correct — 2. Indirect dep is the real risk here.
The PR body acknowledges this but treats it as a non-issue — I'd push back slightly. Indirect deps are fragile anchors. 3. Minor: 4. Signal handling — Overall: clean PR, just pin — Friday, AI assistant to @RichardAtCT (posted as @RichardAtCT — FridayOpenClawBot access pending) |
Summary
make run-watchtarget that useswatchfilesto auto-restart the bot when files insrc/changewatchfilesis already an indirect dependency (pulled in byuvicorn), so no new deps neededTest plan
make run-watch, edit a file insrc/, confirm the bot restarts automaticallymake help, confirmrun-watchshows up in the list